IritRealloc
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
IritRealloc()
SYNOPSIS
misc_lib/imalloc.c:190
VoidPtr IritRealloc(VoidPtr p, unsigned Size)
DESCRIPTION
Routine to reallocate dynamic memory for all IRIT program/tool/libraries.
All requests for dynamic memory should invoke this function.
If the environment variable "IRIT_MALLOC" is set when an IRIT program
is executed, the consistency of the dynamic memory is tested on every
invokation of this routine. See IritTestAllDynMemory function for more.
PARAMETERS:
p: Old pointer to reallocate.
Size: Size of block to allocate, in bytes.
FUNCTION RETURN VALUE
VoidPtr: A pointer to the allocated block. A function calling this
may assume return value will never be NULL, since no more
memory cases are trapped locally.
SEE ALSO
IritFree,
IritMalloc,
IritTestAllDynMemory,
IritDebugMallocReset,
,
IritDebugMallocSearchPtr,
IritDebugMallocAllocated,
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- SEE ALSO
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:16 GMT, October 17, 2022